<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="b" uri="http://java.sun.com/jstl/core_rt"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 	

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>update user!</title>
</head>
<body>

   	<form:form modelAttribute="updateUser" method = "post">
   		<label>用户名</label>
   		<form:input type="text" path="userName"  value="${lookUpUser.userName}"></form:input><br>
   		<label>密码</label>
   		<form:input type="text" path="password"  value="${lookUpUser.password}"></form:input><br>
   		<label>手机号码</label>
   		<form:input type="text" path="userPhone"  value="${lookUpUser.userPhone}"></form:input><br>
   		<label>员工ID</label>
   		<form:input type="text" path="employeeId"  value="${lookUpUser.employeeId}"></form:input><br>
   		<button type="submit">确认</button>
   		<input type="button" onclick="back()" value="取消"/>
   	</form:form>
   		<script>  
	 function back(){
		 window.location.href='<%=basePath%>account/manageUser';
     } 
    </script>
</body>
</html>